package com.menghao.cloud.service.consumer;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * <p>Feign用例.<br>
 *
 * @author MarvelCode.
 */
@FeignClient(value = "service-provider", fallback = HystrixHelloService.class)
public interface HelloService {

    @GetMapping("hello")
    public String sayHello();

}
